﻿using Basic.FlowRemoteModel;

namespace Basic.FlowModel.AuditLogItem
{
    public class AuditLogItemAdd
    {
        public long LogId
        {
            get;
            set;
        }
        public long FlowId { get; set; }

        public long NodeId { get; set; }

        public long FormId { get; set; }

        public FlowNodeType NodeType { get; set; }

        public long CompanyId { get; set; }
        public long EmpId { get; set; }

        public long EmpByUnitId { get; set; }

        public long EmpByDeptId { get; set; }

        public long? NextDeptId { get; set; }
        /// <summary>
        /// 流程项最终审核状态
        /// </summary>
        public FlowAuditItemStatus Status { get; set; }

        /// <summary>
        /// 子流程审核状态
        /// </summary>
        public FlowSubAuditStatus SubFlowState { get; set; }

        /// <summary>
        /// 用户审核状态
        /// </summary>
        public FlowAuditItemStatus AuditState { get; set; }
        public DateTime? TimeOut { get; set; }

        public long? PrevNodeId { get; set; }

        public long? PrevBackNo { get; set; }

        public long RootNodeId { get; set; }

        public long? RootBatchNo { get; set; }
        public long? PrtBatchNo { get; set; }

        public int NodeLvl { get; set; }

        public long[] CopyId { get; set; }

        public long? OptItemId { get; set; }
        public FlowItemMarkState MarkState { get; set; }
        public long? BatchNo { get; set; }
        public DateTime? StartTime { get; set; }
    }
}
